package com.shenhaofeng.app.widget.banner;

import android.graphics.Canvas;
import android.graphics.Paint;


/**
 * 指示器绘制接口，实现该方法已自定义指示器
 * Created by Administrator on 2016/5/24.
 */
public interface IndicatorDrawer {

    /**
     * 绘制标准指示器
     * @param canvas
     * @param left
     * @param top
     * @param right
     * @param bottom
     * @param paint
     */
    void onStandardDraw(Canvas canvas, int left, int top, int right, int bottom, Paint paint);


    /**
     * 绘制当前为选中状态的指示器
     * @param canvas
     * @param left
     * @param top
     * @param right
     * @param bottom
     * @param paint
     */
    void onActiveDraw(Canvas canvas, int left, int top, int right, int bottom, Paint paint);

}
